class Sample4_6
{
public static void main(String[] args) {
	int i=0;
		
             do{
		
			int j=0;
			
                   do{
		
			System.out.print(j);
			
                     j++;
		       }while(j<=i);
			
                     System.out.println();
			
                      i++;
		       
               }while(i<10);                
}
}
